package com.wangxinenpu.springbootdemo.dataobject.dto.organization;

import com.wangxinenpu.springbootdemo.dataobject.vo.root.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class OrganizationDto extends PageVO {

	@ApiModelProperty(value = "id")
	private String id;

	@ApiModelProperty(value = "组织名称")
	@NotBlank(message = "组织名称不能为空")
	private String orgName;

	@ApiModelProperty(value = "排序号")
	private Integer sort;

}
